package com.cn.kehong.api;

import com.cn.kehong.domain.ProductChuciPeriod;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IProductChuciPeriodService {
    List<ProductChuciPeriod> getProductChuciPeriodList(QueryForm queryForm)throws Exception;

    List<ProductChuciPeriod> getProductChuciPeriodListByCodes(List<String> productCodes)throws Exception;

    String addProductChuciPeriod(String peiId,String productCode,String factoryName,String startCode)throws Exception;

    String updateBatchProductChuciPeriod(List<ProductChuciPeriod> productChuciPeriods)throws Exception;

    List<ProductChuciPeriod> getProductChuciPeriodBackList(QueryForm queryForm)throws Exception;

    String getLatestProductCode(String factoryName);

}
